PXC Documentation

PXC Home

Flood Fill

1.18.0

Filled connected pixel given position and color.

Node Data

Display name

Flood Fill

Internal name

Node_Flood_Fill

Inheritances

Node_Processor
Node_Flood_Fill

Inputs

Node_Flood_Fill

surface

Surface In

surface

Mask

slider

Mix

vec2

Position

slider

Threshold

color

Colors

bool

Diagonal

enum

Blend

Outputs

Node_Flood_Fill

surface

Surface Out

Attributes

Color Depth

Flood fill node fill a region with the same color with a new color. That region is based on a single points. If you want to map all regions with new colors, you can use Region Fill node.



Properties


Position


Position of a pixel in the region to fill.


Threshold


Threshold of the color difference to ber consider the same region.


Colors


Color to fill to.


Diagonal


Whether to fill diagonal pixel.


Blend


Blending mode between the original and the filled color.



Related Links